package com.lvmama.pangolin.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.lvmama.pangolin.webmagic.process.TongCheng_M_TicketListProcess;

import tk.mybatis.spring.mapper.MapperScannerConfigurer;


@RestController
public class HelloController {
	
	/**   
	* @Title: HelloController.java  
	* @Description: TODO(用一句话描述该文件做什么) 
	* @author ZhouTianQi   
	* @date 2017年1月2日 下午3:56:14 
	* @version V1.0   
	*/
	@Autowired
	private MapperScannerConfigurer mapperScannerConfigurer;
	@Autowired
	private TongCheng_M_TicketListProcess tongCheng_M_TicketListProcess;
	@RequestMapping("/tcticket")
	public String hello(ModelMap model){
		//String result = lyProsessController.startThisProgress();
		//ModelAndView result = new ModelAndView("hello");
		//model.put("time", new Date());
		System.out.println("@@@@@@@@");
		tongCheng_M_TicketListProcess.startThisProgress(tongCheng_M_TicketListProcess);
		return "index";
	}


}
